//
//  sendnearpeople.m
//  tcpoctest
//
//  Created by gump on 5/23/13.
//  Copyright (c) 2013 gump. All rights reserved.
//

#import "sendnearpeople.h"

@implementation sendnearpeople

-(void)SendLocation:(int)latitude withLongitude:(int)longitude withNPFilterType:(int)itype
{
    if (![self CheckLogin]) {
        return;
    }
    
    int l = CHAR_PL * 2 + INT_PL * 2 + CHAR_PL + INT_PL;
    
    [self initDataByLength:l];
    
    [sb WriteInt:latitude withNTT:NTT_SMALL2BIG];
    [sb WriteInt:longitude withNTT:NTT_SMALL2BIG];
    [sb WriteChar:itype];
    
    [self Package];
}

@end
